package com.example.doctorsystem.dao;

import com.example.doctorsystem.model.Prescription;

import java.util.List;

public interface PrescriptionDao {
    int createPrescription(Prescription p);
    List<Prescription> getAllPrescriptions();
    List<Prescription> getPrescriptionsByDoctorId(int doctorId);
    List<Prescription> getPrescriptionsByPatientId(int patientId);
    Prescription getById(int id);
    int deletePrescription(int id);
}
